﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SLCOMSqlClient
{
    /// <summary>
    /// Sql parameter wrapper class
    /// </summary>
    public class SqlParameter
    {
        private SqlParameter() { }
        /// <summary>
        /// New instaled of a parameter
        /// </summary>
        /// <param name="parameterName">Parameter name</param>
        /// <param name="parameterValue">Parameter value</param>
        public SqlParameter(string parameterName, object parameterValue) 
        {
            ParameterName = parameterName;
            ParameterValue = parameterValue;
        }
        /// <summary>
        /// Parameter name
        /// </summary>
        public string ParameterName { get; private set; }
        /// <summary>
        /// Parameter value
        /// </summary>
        public object ParameterValue { get; private set; }
    }
}
